Skip to content

Test interaction between RFC 2229 migration and use closures #138470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 10, 2025

Conversation

spastorino
Copy link
Member

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Mar 13, 2025
@nikomatsakis
Copy link
Contributor

What is the role of the macro here ?

@spastorino
Copy link
Member Author

What is the role of the macro here ?

This test matches an existing one for RFC2229. Just removed the macro for this one.

@spastorino spastorino force-pushed the test-rfc2229-and-ergonomic-clones branch from f3f0b5a to 57aa9de Compare March 14, 2025 00:37
@nikomatsakis
Copy link
Contributor

@spastorino now I'm confused because the test doesn't reference use closures at all anymore

@spastorino spastorino force-pushed the test-rfc2229-and-ergonomic-clones branch from 57aa9de to 3f21ebc Compare April 8, 2025 16:58
@spastorino
Copy link
Member Author

@spastorino now I'm confused because the test doesn't reference use closures at all anymore

Sorry, this just happened because after doing some tweaks, I had rustfmt_autosave=1 and rustfmt support for use closures did not yet land. So it just remove my use on the closure and I didn't notice.
Now is there ;).

@nikomatsakis
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Apr 9, 2025

📌 Commit 3f21ebc has been approved by nikomatsakis

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 9, 2025
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 9, 2025
…iaskrgr

Rollup of 10 pull requests

Successful merges:

 - rust-lang#138470 (Test interaction between RFC 2229 migration and use closures)
 - rust-lang#138628 (Add more ergonomic clone tests)
 - rust-lang#139164 (std: improve documentation for get_mut() methods regarding forgotten guards)
 - rust-lang#139488 (Add missing regression GUI test)
 - rust-lang#139489 (compiletest: Add directive `dont-require-annotations`)
 - rust-lang#139513 (Report higher-ranked trait error when higher-ranked projection goal fails in new solver)
 - rust-lang#139521 (triagebot: roll compiler reviewers for rustc/unstable book)
 - rust-lang#139532 (Update `u8`-to-and-from-`i8` suggestions.)
 - rust-lang#139551 (report call site of inlined scopes for large assignment lints)
 - rust-lang#139575 (Remove redundant words)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 2b28e6b into rust-lang:master Apr 10, 2025
6 checks passed
@rustbot rustbot added this to the 1.88.0 milestone Apr 10, 2025
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Apr 10, 2025
Rollup merge of rust-lang#138470 - spastorino:test-rfc2229-and-ergonomic-clones, r=nikomatsakis

Test interaction between RFC 2229 migration and use closures

r? `@nikomatsakis`

Fixes rust-lang#138101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test interaction between RFC 2229 migration and use closures
4 participants